package com.demo.modalframe3.utils;

import com.esotericsoftware.tablelayout.swing.Table;

import javax.swing.*;

public class UIUtil {

    public static Table defaultTable() {
        Table table = new Table();
        table.defaults().pad(10).right();
        return table;
    }

    public static JTextField readOnlyTextField() {
        JTextField textField = new JTextField();
        textField.setEditable(false);
        return textField;
    }
}
